﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StyleMVVM.Data;

namespace StyleMVVM.UnitTests.TestClasses.ValidationObjects
{
	public class SimpleValidationObject : NotifyObject
	{
		private string name;
		private int testInt;

		[Required]
		public string Name
		{
			get { return name; }
			set { SetProperty(ref name, value); }
		}

		[Range(1, 5)]
		public int TestInt
		{
			get { return testInt; }
			set { SetProperty(ref testInt, value); }
		}
	}
}